Part Number Hot Search : 
2SD2121S LTC3404 SI104 LTC3404 2N490112 4063A AS3524 MP6TP
Product Description
Full Text Search
 

To Download LTR-559ALS-01 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  lite-on dcc release lite-on technology corp. / optoelectronics no.90,chien 1 road, chung ho, new taipei city 23585, taiwan, r.o.c. tel: 886-2-2222-6181 fax: 886-2-2221-1948 / 886-2-2221-0660 http://www.liteon.com/opto optical sensor product data sheetLTR-559ALS-01 spec no.: ds86-2013-0003effective date: 07/09/2014revision: b bns-od-fc001/a4 bns-od-fc001/a4 bns-od-fc001/a4 bns-od-fc001/a4
1 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 1. description the ltr - 559als - 01 is an integrated low voltage i 2 c digital light sensor [als] and proximity sensor [ps] with built - in emitter, in a single miniature chipled lead - free surface mount package. this sensor converts light intensity to a digital output signal capable of direct i 2 c interface. it provides a linear response over a wide dynamic range from 0.01 lux to 64k lux and is well suited to applications under high ambient brightness. with built - in proximity sensor (emitter and detector), ltr - 559 als - 01 offers the feature to detect object at a user configurable distance. the sensor supports an interrupt feature that removes the need to poll the sensor for a reading which improves system efficiency. the sensor also supports several features that he lp to minimize the occurrence of false triggering. this cmos design and factory - set one time trimming capability ensure minimal sensor - to - sensor variations for ease of manufacturability to the end customers. 2 . features ? i 2 c interface (fast mode @ 400kbi t/s) ? ultra - small chipled package ? built - in temperature compensation circuit ? low active power consumption with standby mode ? supply voltage range from 2.4v to 3.6v capable of 1.7v logic voltage ? operating temperature range from - 30 o c to +70 o c ? rohs and halogen free compliant ? light sensor ? close to human eye spectral response ? immunity to ir / uv light source ? automatically rejects 50 / 60 hz lightings flicker ? 6 dynamic range from 0.01 lux to 64k lux ? 16 - bit effective resolution ? proximity sensor ? built - in led driver, emitter and de tector ? programmable led drive settings ? 11 - bit effective resolution ? high ambient light suppression
2 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 3 . applications to control display backlight in ? mobile devices: mobile phone, pda ? computing devices: notebook pc, desktop monitor ? consumer devices: lc d/pdp tv backlight systems, cameras, personal navigation device, digital photo frame ? dashboard 4 . ordering information part number packaging type package quantity ltr - 559 als - 01 tape and reel 8 - pin chipled package 80 00
3 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 5 . outline dimen sions 1. all dimensions are in millimeters
4 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 6 . functional block diagram 7 . application circuit ltr - 559als
5 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 i/o pins configuration table pin i/o type symbol description 1 i/o sda i 2 c serial data. this pin is an open drain input / output. 2 o int level interrupt pin. this pin is an open drain output. 3 i ldr led driver for proximity emitter. this pin is an open drain input. 4 o led k led cathode. connect to ldr pin if using internal led driver circuit. 5 i led a led anode. connect to vdd or vbat on pcb 6 gnd ground 7 i scl i 2 c serial clock. this pin is an open drain input. 8 vdd power supply voltage recommended application circuit components component recommended value rp1, rp2, rp3 [1] 1 k ? to 10 k ? c1 , c2 1uf ? 20%, x7r ceramic [1] selection of pull - up resistors value is dependent on bus capacitance values. for more details, please refer to i 2 c specifications: http://www.nxp.com/documents/user_manual/um10204.pdf
6 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 8 . ratings and specifications absolute maximum ratings at ta = 25 ? c parameter symbol rating unit supply voltage vdd 3.8 v digital voltage range scl, sda, int - 0.5 to 3.8 v digital output current scl, sda, int - 1 to 20 ma storage temperature t stg - 40 to 100 ? c note: exceeding these ratings could cause damage to the sensor. all voltages are with respect to ground. currents are positive into, negative out of the specified terminal. recommended operating conditions description symbol min. typ. max. unit supply voltage vdd 2.4 3.6 v led supply voltage vled 2.5 4.35 v interface bus power supply voltage v io 1.7 3 . 6 v operating temperature t ope - 30 70 ? c electrical & optical specifications all specifications are at vdd = 3.0v, t op e = 25 ? c, unless otherwise noted. parameter min. typ. max. unit condition active su pply current 2 5 0 ua active mode, t ope = 25 ? c standby current 5 ua standby / sleep mode initial startup time 6 0 100 1000 ms (note 1) wakeup time from standby 10 ms (note 1)
7 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 light sensor parameter min. typ. max. unit condition full scale adc count 65535 count dark adc count 0 6 count ch0, lux = 0 0 6 count ch1, lux = 0 adc count (gain=96) 32 0 0 4900 6 6 00 count ch0 w hite led 200 lux integration time : 50ms measurement time : 100ms 1 20 0 1800 240 0 count ch1 white led 200 lux integrat ion time : 50ms measurement time : 100ms als ratio 0.15 0.26 0.35 ratio = ch1/(ch1 + ch0) lux = 200 (white led) proximity sensor parameter min. typ. max. unit condition full scale adc count 2047 count peak sensitivity 840 855 870 nm detection d istance 20 nm 100ma, 4 pulses, 18% gray card ambient light suppression 50k lux direct sunlight led pulse count 1 15 pulses led pulse frequency 30k 100k hz increment of 10k hz led duty cycle 25 100 % increment of 25% led peak current 5 ma le d peak current = 000 10 ma led peak current = 001 20 ma led peak current = 010 50 ma led peak current = 011 100 ma led peak current = 1xx optical rise / fall time 100 ns
8 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 note 1 : startup sequence l ux formul a refer to appendix a for the lux formula supply vdd to sensor ( sensor in standby mode) i2c command (write) to enable sensor to active mode wait 100 ms (min) - initial startup time sensor is active and starts measurement wait 10 m s (max) - wakeup time from standby
9 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ac electrical characteristics all specifications are at vbus = 1.8v, t ope = 25 ? c, unless otherwise noted. parameter symbol min. max. unit scl clock frequency 1 400 khz bus free time between a stop and start condition 1.3 u s hold time (repeated) start condition. after this period, the first clock pulse is generated 0.6 u s low period of the scl clock 1.3 u s high period of the scl clock 0.6 u s set - up time for a repeated start condition 0.6 u s set - up time for stop condition 0.6 u s rise time of both sda and scl signals 30 300 ns fall time of both sda and scl signals 30 300 ns data hold time 0.3 0.9 u s data setup time 100 ns pulse width of spikes which must be suppressed by the input filter 0 50 ns definition of timing for i 2 c bus scl f buf t s ta hd t ; low t high t s ta su t ; s to su t ; r t f t d at hd t ; d at su t ; sp t
10 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 9 . principles of operation i 2 c protocols i 2 c write protocol (type 1): i 2 c write protocol (type 2): i 2 c read protocol: s l a v e a d d r e s s w a s r e g i s t e r a d d r e s s a p 7 1 1 1 8 1 1 s l a v e i d ( w r i t e ) s c l 1 2 3 4 5 6 7 8 9 s d a s 6 s 5 s 4 s 3 s 2 s 1 s 0 1 2 3 4 5 6 7 8 9 a 7 a 6 a 5 a 4 a 3 a 2 a 1 a 0 s l a v e a d d r e s s r e g i s t e r a d d r e s s a a s p w s l a v e i d ( w r i t e ) s l a v e a d d r e s s w a s r e g i s t e r a d d r e s s a p 7 1 1 1 8 1 1 r e g i s t e r c o m m a n d a 8 1 s l a v e i d ( w r i t e ) s c l 1 2 3 4 5 6 7 8 9 s d a s 6 s 5 s 4 s 3 s 2 s 1 s 0 1 2 3 4 5 6 7 8 9 a 7 a 6 a 5 a 4 a 3 a 2 a 1 a 0 s l a v e a d d r e s s r e g i s t e r a d d r e s s a a s 1 2 3 4 5 6 7 8 9 a 7 a 6 a 5 a 4 a 3 a 2 a 1 a 0 r e g i s t e r c o m m a n d a p w s l a v e i d ( w r i t e ) s 1 s l a v e a d d r e s s r a n 7 1 1 8 1 r e g i s t e r c o m m a n d p 1 s l a v e i d ( r e a d ) s c l 1 2 3 4 5 6 7 8 9 s d a s 6 s 5 s 4 s 3 s 2 s 1 s 0 1 2 3 4 5 6 7 8 9 c 7 c 6 c 5 c 4 c 3 c 2 c 1 c 0 s l a v e a d d r e s s r e g i s t e r c o m m a n d a n s p r s l a v e i d ( r e a d )
11 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 i 2 c read (combined format) protocol: a acknowledge (0 for an ack) n non - acknowledge(1 for an nack) s start condition sr repeated start condition p stop condition w write (0 for writing) r r ead (1 for read) slave - to - master master - to - slave i 2 c slave address the 7 bits slave address for this sensor is 0x2 3 h. a read/write bit should be appended to the slave address by the master dev ice to properly communicate with the sensor . i 2 c slave address command type (0x29 h) w/r value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 write 0 1 0 0 0 1 1 0 0x 46 h read 0 1 0 0 0 1 1 1 0x 47 h s l a v e a d d r e s s w a s r e g i s t e r a d d r e s s a s r 7 1 1 1 8 1 1 s l a v e a d d r e s s r a n 7 1 1 8 1 r e g i s t e r c o m m a n d p 1 s l a v e i d ( w r i t e ) s l a v e i d ( r e a d ) s c l 1 2 3 4 5 6 7 8 9 s d a s 6 s 5 s 4 s 3 s 2 s 1 s 0 1 2 3 4 5 6 7 8 9 a 7 a 6 a 5 a 4 a 3 a 2 a 1 a 0 s l a v e a d d r e s s r e g i s t e r a d d r e s s a a s s r w 1 2 3 4 5 6 7 8 9 c 7 c 6 c 5 c 4 c 3 c 2 c 1 c 0 r e g i s t e r c o m m a n d a n p 1 2 3 4 5 6 7 8 9 s 6 s 5 s 4 s 3 s 2 s 1 s 0 s l a v e a d d r e s s a r
12 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 register set addr r / w register name description reset v alue 0x80 r/w als_contr als operation mode control sw reset 0x00 0x81 r/w ps_contr ps operation mode control 0x00 0x82 r/w ps_led ps led setting 0x7f 0x83 r/w ps_n_pulses ps number of pulses 0x01 0x84 r/w ps_meas_rate ps measurement rate in active mod e 0x02 0x85 r/w als_meas_rate als measurement rate in active mode 0x0 3 0x86 r part_id part number id and revision id 0x92 0x87 r manufac_id manufacturer id 0x05 0x88 r als_data_ch1_0 als measurement ch1 data, lower byte 0x00 0x89 r als_data_ch1_1 als measurement ch1 data, upper byte 0x00 0x8a r als_data_ch0_0 als measurement ch0 data, lower byte 0x00 0x8b r als_data_ch0_1 als measurement ch0 data, upper byte 0x00 0x8c r als_ ps_ status als and ps new data status 0x00 0x8d r ps_data_0 ps measurement d ata, lower byte 0x00 0x8e r ps_data_1 ps measurement data, upper byte 0x00 0x8f r/w interrupt interrupt settings 0x00 0x90 r/w ps_thres_up_0 ps interrupt upper threshold, lower byte 0xff 0x91 r/w ps_thres_up_1 ps interrupt upper threshold, upper byte 0 x07 0x92 r/w ps_thres_low_0 ps interrupt lower threshold, lower byte 0x00 0x93 r/w ps_thres_low_1 ps interrupt lower threshold, upper byte 0x00 0x94 r/w ps_offset_1 ps offset, upper byte 0x00 0x95 r/w ps_offset_0 ps offset, lower byte 0x00 0x97 r/w al s_thres_up_0 als interrupt upper threshold, lower byte 0xff 0x98 r/w als_thres_up_1 als interrupt upper threshold, upper byte 0xff 0x99 r/w als_thres_low_0 als interrupt lower threshold, lower byte 0x00 0x9a r/w als_thres_low_1 als interrupt lower thres hold, upper byte 0x00 0x9e r/w interrupt persist als / ps interrupt persist setting 0x00 notes: 1) when reading als data registers, read sequence should always be from lower address to higher address (e.g. for als data, ch1 data should be read first follo wed by ch0 data. read sequence should be 0x88, 0x89, 0x8a, 0x8b. when 0x8b is read, all four als data registers will be populated with new set of data). 2) when setting of interrupt register (addr 0x8f) is necessary, it should be done before the device is in active mode.
13 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als_contr register (0x80) the als_contr register controls the als gain setting, als operation modes and software (sw) reset for the sensor. the als sensor can be set to either standby mode or active mode. at either of these modes, the i 2 c c ircuitry is always active. the default mode after power up is standby mode. during standby mode, there is no als measurement performed but i 2 c communication is allowed to enable read/write to all the registers . field bits default type description reserved 7:5 000 -- -- must write to 000 (default) als gain 4:2 000 rw 000 gain 1x ? 1 lux to 64k lux (default) 001 gain 2x ? 0.5 lux to 32k lux 010 gain 4x ? 0.25 lux to 16k lux 011 gain 8x ? 0.125 lux to 8k lux 100 reserved 101 reserved 110 gain 48x ? 0.02 lux to 1.3k lux 111 gain 96x ? 0.01 lux to 600 lux sw reset 1 0 rw 0 initial start - up procedure is not started (default) 1 initial start - up procedure is started, bit has default value of 0 after start - up als mode 0 0 rw 0 stand - by mode (default) 1 active mode 0x80 als_contr (default = 0x00) b7 b6 b5 b 4 b3 b2 b1 b0 reserved als gain sw reset als mode
14 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 p s_contr register (0x8 1 ) the ps_contr register controls the ps operation modes. the ps sensor can be set to either standby mode or active m ode. at either of these modes, the i 2 c circuitry is always active. the default mode after power up is standby mode. during standby mode, there is no ps measurement performed but i 2 c communication is allowed to enable read/ write to all the registers. ps saturation indicator enable bit is used for enabling the saturation indicator in bit 7 of ps_data register (0x8e). field bits default type description reserved 7: 6 00 -- -- must write to 00 ps saturation indicator enable 5 0 rw 0 saturation indicator disable 1 saturation indicator enable reserved 4:2 000 -- -- must be 0 ps mode 1:0 00 rw 00 stand - by m ode (default) 01 10 active mode 11 0x81 p s_contr (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 reserved ps saturation indicator enable reserved p s mode
15 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ps_led register (0x82) the ps_led register controls the led pulse modulation frequency, led current duty cycle and led peak current. field bits default type description led pulse modulation frequency 7:5 011 rw 000 led pulse period = 30khz 001 led pulse period = 40khz 010 led pulse period = 50khz 011 led pulse period = 60khz (default) 100 led pulse period = 70khz 101 led pulse period = 80khz 110 led pulse period = 90khz 111 led pulse period = 100khz led duty cycle 4:3 11 rw 00 duty = 25% 01 duty = 50% 10 duty = 75% 11 duty = 100% (default) led current 2:0 1 11 rw 000 led pulsed current level = 5ma 001 led pulsed current level = 10ma 010 led pulsed current level = 20ma 011 led pulsed current level = 50ma 100 led pulsed current level = 100ma (default) 101 110 111 0x82 ps_led (default = 0x7f) b7 b6 b5 b4 b3 b2 b1 b0 led pul se frequency led duty cycle led peak current
16 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ps_n_pulses register (0x83) the ps_n_pulses register controls the number of led pulses to be emitted. field bits default type description reserved 7:4 000 0 -- -- 0000 (default) ps number of led pulses 3:0 0001 rw 0000 reserved 0001 number of pulses = 1 (default) 0010 number of pulses = 2 0011 number of pulses = 3 0100 number of pulses = 4 0101 number of pulses = 5 0110 number of pulses = 6 0111 number of pulses = 7 1000 number of pulses = 8 1001 number of pulses = 9 1010 number of pulses = 10 1011 number of pulses = 11 1100 number of pulses = 12 1101 number of pulses = 13 1110 number of p ulses = 14 1111 number of pulses = 15 0x83 ps_n_pulses (default = 0x01) b7 b6 b5 b4 b3 b2 b1 b0 reserved led pulse count
17 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ps_ meas_rate register (0x8 4 ) the ps_meas_rate register controls the timing of the periodic measurements of the ps in active mode. ps measurement repeat rate is the interval between ps_data registers update . field bits default type description reserved 7:4 0000 -- -- 0000 (default) ps measurement rate 3:0 0010 rw 0000 50ms 0001 70ms 0010 100ms (de fault) 0011 200ms 0100 500ms 0101 1000ms 0110 2000ms 0111 1xxx 10ms 0x84 ps_ meas _ rate (default = 0x0 2 ) b7 b6 b5 b4 b3 b2 b1 b0 reserved ps measurement repeat rate
18 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als_meas_rate register (0x85) the als_meas_rate register controls the integration time and timing of the periodic measurement of the als in activ e mode. als measurement repeat rate is the interval between als_data registers update. als integration time is the measurement time for each als cycle. als measurement repeat rate must be set to be equal or larger than the als integration time. if als meas urement repeat rate is set to be smaller than als integration time, it will automatically be reset to be equal to als integration time by the ic internally. field bits default type description reserved 7:6 00 -- -- -- als integration time 5:3 000 rw 000 100ms (default) 001 50ms 010 200ms 011 400ms 100 150ms 101 250ms 110 300ms 111 350ms als measure ment rate 2:0 011 rw 000 50ms 001 100ms 010 200ms 011 500ms (default) 100 1000ms 101 2000ms 110 111 0x85 als_meas_rate (default = 0x03) b7 b6 b5 b4 b3 b2 b1 b0 reserved als integration time als m easurement repeat rate
19 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 part_id register (0x86) (read only) the part_id register defines the part number and revision identification of the s ensor. field bits default type description part number id 7:4 10 0 1 r part id 0x 09 h revision id 3:0 00 1 0 r revision id 0x0 2 h manufac_id register (0x87) (read only) t he manufac_id register defines the manufacturer identification of the sensor. field bits default type description manufacturer id 7:0 00000101 r manufacturer id (0x05h) 0x86 part_id (default = 0x 92 ) b7 b6 b5 b4 b3 b2 b1 b0 part number id revision id 0x87 manufac_id (default = 0x05) b7 b6 b5 b4 b3 b2 b1 b0 manufacturer id
20 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 al s_data_ch1 register (0x88 / 0x89) (read only) the als_data registers should be read as a group, with the lower address read back first (i.e. read 0x88 first, then read 0x89). these two registers should also be read before reading channel - 0 data (from regis ters 0x8a, 0x8b). when the i 2 c read operation starts, all four als data registers are locked until the i 2 c read operation of register 0x8b is completed. this will ensure that the data in the registers is from the same measurement even if an additional int egration cycle ends during the read operation. new measurement data is stored into temporary registers and the als_data registers are updated as soon as there is no on - going i 2 c read operation. the als adc channel - 1 data is expressed as a 16 - bit data sprea d over two registers. the als_data_ch1_0 and als_data_ch1_1 registers provide the lower and upper byte respectively. field addr ess bits default type description als data ch1 low 0x88 7:0 00000000 r als adc channel 1 lower byte data als data ch1 high 0x89 7:0 00000000 r als adc channel 1 upper byte data 0x88 als_data_ch1_0 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als data ch1 low 0x89 als_data_ch1_1 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als data ch1 high
21 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als_data_ch0 register (0x8a / 0x 8b) (read only) these two registers should be read after reading channel - 1 data (from registers 0x88, 0x89). lower address register should be read first (i.e . read 0x8a first, then read 0x8b). see als_data_ch1 register information above. the als adc channe l - 0 data is expressed as a 16 - bit data spread over two registers. the als_data_ch0_0 and als_data_ch0_1 registers provide the lower and upper byte respectively. field addr ess bits default type description als data ch0 low 0x8a 7:0 00000000 r als adc channel 0 lower byte data als data ch0 high 0x8b 7:0 00000000 r als adc channel 0 upper by te data 0x8a als_data_ch0_0 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als data ch0 low 0x8b als_d ata_ch0_1 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als data ch0 high
22 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als_ ps_ status register (0x8c) (read only) the als_ ps_ status register stores the information about als data status. new data means data has not been read yet. when the measurement is completed and data is written to the data register, the data status bit will be set to logic 1. when the data register is read, the data status bit will be set to logic 0 . interrupt status determines if the als interrupt criteria are met. it will check if the als measurement data is outside of th e range defin ed by the upper and lower threshold limits. als data valid bit indicates the validity of the als data in ch0 and ch1. field bits default type description als data valid 7 0 r 0 als data is valid (default) 1 als data is invalid als data gain range 6:4 000 r 000 als measured data in gain 1x (default) 001 als measured data in gain 2x 010 als measured data in gain 4x 011 als measured data in gain 8x 100 invalid 101 invalid 110 als measured data in gain 48x 111 als measured data in gain 96x als interrupt status 3 0 r 0 interrupt signal inactive (default) i nterrupt signal active als data status 2 0 r 0 old data (data already read), ( default) 1 new data (first time data is being read) ps interrupt status 1 0 r 0 interrupt signal inactive (default) 1 interrupt signal active ps data status 0 0 r 0 old data (data already read), (default) 1 new data (first time data is being read) 0x8c als_ps_status (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als data valid als gain als interrupt status als data status ps interrupt status ps data status
23 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 p s_data_ 0 register (0x8 d / 0x8 e ) (read only) the ps adc channel data are expressed as a 11 - bit data spread over two registers. the ps_data_0 and ps_data_1 registers p rovide the lower and upper byte respectively. when the i 2 c read operation starts, both the registers are locked until the i 2 c read operation is completed. this will ensure that the data in the registers is from the same measurement even if an additional i ntegration cycle ends during the read operation. new measurement data is stored into temporary registers and the ps_data registers are updated as soon as there is no on - going i 2 c read operation. ps saturation flag is used for monitoring the internal ic sa turation. it will be flagged when the ic has reached saturation and not able to perform any further ps measurement. the ps saturation indicator enable bit in ps_contr register (0x81) has to be enabled in order to use this feature. if it is not enable, the flag will always be indicated as 0. field address bits default type description ps data, low 0x8d 7:0 00000000 r -- ps adc lower byte data ps saturation flag 0x8e 7 0 r 0 ps not saturated 1 ps saturated reserved 0x8e 6:3 00000 -- -- -- ps data, high 0x8e 2:0 000 r -- ps adc upper byte data 0x8d ps_data_0 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 ps data low 0x8e ps_data_1 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 ps saturation flag reserved ps data high
24 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 interrutp register (0x8f) (read only) the interrupt register controls the operation of the interrupt pin and functions. when the interrupt mode is set to 00, the int output pin 2 is inactive / disabled and will not trigger any interrupt. however at this condition, the als_ps_status regis ter will still be updated. note that when this register is to be set with values other than its default values, it should be set before device is in act ive mode. field bits default type description reserved 7:3 0000 0 -- -- must write as 00000 interrupt polarity 2 0 r w 0 int pin is considered active when it is a logic 0 (default) 1 int pin is considered active when it is a logic 1 interrupt mode 1 :0 0 r w 0 0 interrupt pin is inactive / high impedance state (default) 01 only ps measurement can trigger interrupt 10 only als measurement can trigger interrupt 1 1 both als and ps measurement can trigger interrupt 0x8f interrupt (default = 0x0 0 ) b7 b6 b5 b4 b3 b2 b1 b0 reserved interrupt polarity inter rupt mode
25 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ps_thres register ( 0x90 / 0x91 / 0x92 / 0x93) the ps_thres_up and ps_thres_low registers determines the upper and lower limit of the interrupt threshold value respectively. these two values form a range and the interrupt function compares if the measurement value in ps_data registers is inside or outside the range. the interrupt function is active if the measurement data is outside the range defined by the upper and lower limits. the data format for ps_thres must be the same as ps_data registers. these registers must be appli ed dynamically to have hysteresis interruption. 0x90 ps_thres_up_0 (default = 0xff) b7 b6 b5 b4 b3 b2 b1 b0 ps upper threshold low 0x91 p s_thres_up_1 (default = 0x 07 ) b7 b6 b5 b4 b3 b2 b1 b0 reserved ps upper threshold high 0x9 2 p s_thres_low_0 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 p s lower threshold low 0x9 3 p s_thres_low_1 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 reserved ps lower threshold high
26 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 field address bits default type description p s u pper t hreshold low 0x9 0 7:0 1111111 1 rw p s upper threshold lower byte data reserved 0x91 7:3 00000 -- reserved p s u pper t hreshold high 0x9 1 2 :0 111 rw p s upper threshold upper byte data p s lower threshold , low 0x9 2 7:0 00000000 rw p s lower threshold lower byte data reserved 0x93 7:3 000 00 -- reserved p s lower threshold high 0x9 3 2 :0 000 rw p s lower threshold upper byte data
27 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 ps_offset register (0x94 / 0x95) the ps_offset register defines the offset compensation value for proximity offsets caused by device variations, opt ical crosstalk and other environment factors. this value will be used and cancelled from the original ps raw data such that the data in ps_data register (0x8d and 0x8e) are the compensated value. 0x94 ps_ offset_1 (default = 0x 00 ) b7 b6 b5 b4 b3 b2 b1 b0 reserved ps offset, high byte 0x9 5 ps_ offset _ 0 (default = 0x0 0 ) b7 b6 b5 b4 b3 b2 b1 b0 ps offset, low byte
28 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als_ thres register (0x97 / 0x98 / 0x99 / 0x9a) the als_thres_up and als_thres_low registers determines the upper and lower l imit of the interrupt threshold value respectively. these two values form a range and the interrupt function compares if the measurement value in als_data registers is inside or outside the range. the interrupt function is active if the measurement data is outside the range defined by the upper and lower limits. the data format for als_thres must be the same as als_data registers. 0x97 als_thres_up_0 (default = 0xff) b7 b6 b5 b4 b3 b2 b1 b0 als upper threshold low 0x9 8 als_ thres _ up _1 (default = 0x ff ) b7 b6 b5 b4 b3 b2 b1 b0 als upper threshold high 0x99 als_thres_low_0 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als lower threshold low 0x9a als_thres_low_1 (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 als lower threshold high
29 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 field addres s bits default type description als upper threshold low 0x97 7:0 11111111 r w als upper threshold lower byte data als upper threshold high 0x98 7:0 11111111 r w als upper threshold up per byte data als lower threshold low 0x99 7:0 00000000 rw als lower thr eshold lower byte data als lower threshold high 0x9a 7:0 00000000 rw als lower threshold upper byte data
30 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 interrupt persist register (0x9e) the interrupt persist register controls the n number of times the measurement data is outside th e range defined by the upper and lower threshold limits before asserting the interrupt. field bits default type description ps persist 7:4 0000 rw 0000 every ps v alue out of threshold range (default) 0001 2 consecutive ps values out of threshold range . . 1111 16 consecutive ps values out of threshold range als persist 3:0 0000 rw 0000 every als value out of threshold range (default) 0001 2 c onsecutive als values out of threshold range --- --- 1111 16 consecutive als values out of threshold range 0x9e interrupt persist (default = 0x00) b7 b6 b5 b4 b3 b2 b1 b0 ps persist als persist
31 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 10 . device operation (using interrupt) below flow diagram illustrates the ltr - 559als operation involving the use of thresholds and interrupts. read dps data read dls data device power up dps active dls active interrupt no interrupt dps interrup t dls interrup t mcu actions mcu actions wait for interrupt set interrupt/ thresholds check status reg (0x8 c)
32 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 11 . pseudo codes examples control registers // the control registers define the operating modes and gain settings of the als and ps of ltr - 559. // default settings are 0x00 for both registers (both in standb y mode). slave_addr = 0x2 3 // slave address of ltr - 559 device // enable als register_addr = 0x80 // als_contr register command = 0x01 // for gain x1 // for gain x2, command = 0x05 // for gain x4, command = 0x09 / / for gain x8, command = 0x0d // for gain x48, command = 0x19 // for gain x96, command = 0x1d writebyte(slave_addr, register_addr, command) // enable p s register_addr = 0x81 // ps_contr register command = 0x03 writebyte(sla ve_addr, register_addr, command) ps led registers // the ps led registers define the led pulse modulation frequency, duty cycle and peak current. // default setting is 0x7f (60khz, 100%, 100ma). slave_addr = 0x23 // slave address of ltr - 559 devic e // set led pulse freq 30khz (duty cycle 100%, peak curr 100ma) register_addr = 0x82 // ps_led register command = 0x1f // pulse freq = 30khz, (duty cyc 100%, peak curr 100ma) // for pulse freq = 40khz, (100%, 100ma), command = 0x3f // for pulse freq = 50khz, (100%, 100ma), command = 0x5f // for pulse freq = 60khz, (100%, 100ma), command = 0x7f // for pulse freq = 70khz, (100%, 100ma), command = 0x9f // for pulse freq = 80khz, (100%, 100ma), command = 0 xbf // for pulse freq = 90khz, (100%, 100ma), command = 0xdf // for pulse freq = 100khz, (100%, 100ma), command = 0xff writebyte(slave_addr, register_addr, command) // set led duty cycle 25% (pulse freq 60khz, peak curr 100ma) register_a ddr = 0x82 // ps_led register command = 0x67 // duty cycle = 25%, (pulse freq 60khz, peak curr 100ma) // for duty cycle = 50%, (60khz, 100ma), command = 0x6f // for duty cycle = 75%, (60khz, 100ma), command = 0x77 // for duty cycle = 100%, (60khz, 100ma), command = 0x7f writebyte(slave_addr, register_addr, command)
33 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 // set led peak current 5ma (pulse freq 60khz, duty cycle 100%) register_addr = 0x82 // ps_led register command = 0x78 // peak current = 5ma, (pul se freq 60khz, duty cyc 100%) // for peak current = 10ma, (60khz, 100%), command = 0x79 // for peak current = 20ma, (60khz, 100%), command = 0x7a // for peak current = 50ma, (60khz, 100%), command = 0x7b writebyte(slave_addr, reg ister_addr, command) ps measurement rate // the ps_meas_rate register controls the ps measurement rate. // default setting of the register is 0x02 (repeat rate 100ms) slave_addr = 0x23 // slave address of ltr - 559 device // set ps repeat rate 50ms register_addr = 0x8 4 // ps_meas_rate register command = 0x00 // meas rate = 50ms // for meas rate = 500ms, command = 0x04 writebyte(slave_addr, register_addr, command) als measurement rate // the als_meas_rate register controls the als integration time and measurement rate. // default setting of the register is 0x03 (integration time 100ms, repeat rate 500ms) slave_addr = 0x2 3 // slave address of ltr - 559 device // set als integration time 200ms, repeat rate 200ms register_addr = 0x85 // als_meas_rate register command = 0x12 // int time = 200ms, meas rate = 200ms // for int time = 400ms, meas rate = 500ms, command = 0x1b writebyte(slave_addr, register_addr, command) als data registers (read only) // the als dat a registers contain the adc output data for the respective channel. // these registers should be read as a group, with the lower address being read first. slave_addr = 0x2 3 // slave address of ltr - 559 device // read back als_data_ch1 register_addr = 0x88 // als_data_ch1 low byte address readbyte(slave_addr, register_addr, data0) register_addr = 0x89 // als_data_ch1 high byte address readbyte(slave_addr, register_addr, data1) // read back als_data_ch0 register_addr = 0x8a // als_data_ch0 low byte address readbyte(slave_addr, register_addr, data2) register_addr = 0x8b // als_data_ch0 high byte address readbyte(slave_addr, register_addr, data3) als_ch1_adc_data = (data1 << 8) | data0 // combining lower and upper bytes to give 16 - bit ch 1 data als_ch0_adc_data = (data3 << 8) | data2 // combining lower and upper bytes to give 16 - bit ch0 data
34 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als / ps status register (read only) // the als_ps_status register contains the information on interrupt, als and ps data availability status. // thi s register is read only. slave_addr = 0x23 // slave address of ltr - 559 device // read back register register_addr = 0x8c // als_ps_status register address readbyte(slave_addr, register_addr, data) interrupt_status = data & 0x0a // inter rupt_status = 8(decimal) ? als interrupt // interrupt_status = 2(decimal) ? ps interrupt // interrupt_status = 10(decimal) ? both interrupt newdata_status = data & 0x05 // newdata_status = 4(decimal) ? als new data // newdata _status = 1(decimal) ? ps new data // newdata_status = 5(decimal) ? both new data als_data_valid = data & 0x80 // als_data_valid = 0x00 ? als new data is valid (usable) // als_data_valid = 0x80 ? als new data is invalid, discard and // wait for new als data ps data register s (read only) // the ps data registers contain the adc output data. // these registers should be read as a group, with the lower address being read first. sl ave_addr = 0x23 // slave address of ltr - 559 device // read back ps_data registers register_addr = 0x8d // ps_data low byte address readbyte(slave_addr, register_addr, data0) register_addr = 0x8e // ps_data high byte address readbyte(slave_add r, register_addr, data1) ps_adc_data = (data1 << 8) | data0 // combining lower and upper bytes to give 16 - bit ps data interrupt register s // the interrupt register controls the operation of the interrupt pins and function. // the default value for this register is 0x08 (interrupt inactive) // note that when this register is to be set with values other than its default values, // it should be set before device is in active mode. slave_addr = 0x23 // slave address of ltr - 559 device // set inte rrupt polarity for active low, both als and ps trigger register_addr = 0x8f // interrupt register address command = 0x03 // interrupt is active low and both als and ps can trigger // for active high interrupt, both trigger, command = 0x07 // for active high interrupt, only als trigger, command = 0x06 // for active high interrupt, only ps trigger, command = 0x05 writebyte(slave_addr, register_addr, command)
35 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 als threshold register s // the als_thres_up and als_thres_low reg isters determines the upper and lower limit of the interrupt threshold value. // following example illustrates the setting of the als threshold window of decimal values of 200 (lower threshold) // and 1000 (upper threshold) slave_addr = 0x2 3 // slav e address of ltr - 559 device // upper threshold setting (decimal 1000) als_upp_threshold_reg_0 = 0x97 // als upper threshold low byte register address als_upp_threshold_reg_1 = 0x98 // als upper threshold high byte register address data1 = 1000 >> 8 // to convert decimal 1000 into two eight bytes register values data0 = 1000 & 0xff writebyte(slave_addr, als_upp_threshold_reg_0, data0) writebyte(slave_addr, als_upp_threshold_reg_1, data1) // lower threshold setting (decimal 200) als_low_threshold_r eg_0 = 0x99 // als lower threshold low byte register address als_low_threshold_reg_1 = 0x9a // als lower threshold high byte register address data1 = 200 >> 8 // to convert decimal 200 into two eight bytes register values data0 = 200 & 0xff writeb yte(slave_addr, als_low_threshold_reg_0, data0) writebyte(slave_addr, als_low_threshold_reg_1, data1) ps threshold register s // the ps_thres_up and ps_thres_low registers determines the upper and lower limit of the interrupt threshold value. // followin g example illustrates the setting of the ps dynamic threshold with hysteresis interruption for // decimal value 1000 (for near detection) and 500 (for far detection) slave_addr = 0x23 // slave address of ltr - 559 device //for near detection (decimal 1000) ps_upp_threshold_reg_0 = 0x90 // ps upper threshold low byte register address ps_upp_threshold_reg_1 = 0x91 // ps upper threshold high byte register address data1 = 1000 >> 8 // to convert decimal 1000 into two eight bytes register values d ata0 = 1000 & 0xff writebyte(slave_addr, ps_upp_threshold_reg_0, data0) writebyte(slave_addr, ps_upp_threshold_reg_1, data1) ps_low_threshold_reg_0 = 0x92 // ps lower threshold low byte register address ps_low_threshold_reg_1 = 0x93 // ps lower thresh old high byte register address data1 = 0 >> 8 // to convert decimal 0 into two eight bytes register values data0 = 0 & 0xff writebyte(slave_addr, ps_low_threshold_reg_0, data0) writebyte(slave_addr, ps_low_threshold_reg_1, data1) //for far detection (decimal 500) ps_upp_threshold_reg_0 = 0x90 // ps upper threshold low byte register address ps_upp_threshold_reg_1 = 0x91 // ps upper threshold high byte register address data1 = 2047 >> 8 // to convert decimal 2047 into two eight bytes register v alues data0 = 2047 & 0xff writebyte(slave_addr, ps_upp_threshold_reg_0, data0) writebyte(slave_addr, ps_upp_threshold_reg_1, data1) ps_low_threshold_reg_0 = 0x92 // ps lower threshold low byte register address ps_low_threshold_reg_1 = 0x93 // ps lower threshold high byte register address data1 = 500 >> 8 // to convert decimal 500 into two eight bytes register values data0 = 500 & 0xff writebyte(slave_addr, ps_low_threshold_reg_0, data0) writebyte(slave_addr, ps_low_threshold_reg_1, data1)
36 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 1 2 . reco mmended leadfree reflow profile process zone symbol ? t maximum ? t/ ? time or duration heat up p1, r1 25 ? c to 150 ? c 3 ? c/s solder paste dry p2, r2 150 ? c to 200 ? c 100s to 180s solder reflow p3, r3 p3, r4 200 ? c to 260 ? c 260 ? c to 200 ? c 3 ? c/s - 6 ? c/s cool down p4, r5 200 ? c to 25 ? c - 6 ? c/s time maintained above liquidus point , 217 ? c > 217 ? c 60s to 90s peak temperature 260 ? c - time within 5 ? c of actual peak temperature > 255 ? c 20s time 25 ? c to peak temperature 25 ? c to 260 ? c 8mi ns it is recommended to perform reflow soldering no more than twice. 50 100 150 200 250 300 t-time (seconds) 25 80 120 150 180 200 230 255 0 t - temperature (c) r1 r2 r3 r4 r5 217 max 260c 60 sec to 90 sec above 217 c p1 heat up p2 solder paste dry p3 solder reflow p4 cool down
37 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 1 3 . moisture proof packaging all ltr - 559 als - 01 are shipped in moisture proof package. once opened, moisture absorption begins. this part is compliant to jedec j - std - 033a level 3. ti me from unsealing to soldering after removal from the moisture barrier bag, the parts should be stored at the recommended storage conditions and soldered within seven days. when the moisture barrier bag is opened and the parts are exposed to the recommende d storage conditions for more than seven days, the parts must be baked before reflow to prevent damage to the parts. recommended storage conditions storage temperature 10 ? c to 30 ? c relative humidity below 60% rh baking conditions package temperature t ime in reels 60 ? c 48 hours in bulk 100 ? c 4 hours baking should only be done once.
38 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 1 4 . recommended land pattern and metal stencil aperture recommended land pattern note: all dimensions are in millimeters metal stencil for solder paste printing stencil aperture land pattern pcb a
39 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 rec ommended metal stencil aperture it is recommended that the metal stencil used for solder paste printing has a thickness (t) of 0.11mm (0.004 inches / 4 mils) or 0.127mm (0.005 inches / 5 mils). the stencil aperture opening is recommended to be 0.72mm x 0.6 0mm which has the same dimension as the land pattern. this is to ensure adequate printed solder paste volume and yet no shorting. note: 1. all dimensions are in millimeter s 2.0 0 3.6 3 t aperture opening
40 / 40 p art no. : l t r - 559als - 01 bns - od - fc002/a4 optical sensor l tr - 559als - 01 1 5 . package dimension for tape and reel notes: 1. all dimensions are in millimeters (inches) 2. empty component pockets sealed with top cover tape 3. 13 inch reel - 8000 pieces per reel 4. in accordance with ansi/eia 481 - 1 - a - 1994 specifications


▲Up To Search▲   

 
Price & Availability of LTR-559ALS-01

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X